package cn.mumzone.pos.presenter.contract;

import java.util.List;

import cn.mumzone.basic.mvp.BasePresenter;
import cn.mumzone.basic.mvp.BaseView;
import cn.mumzone.pos.model.InventoryDetailEntity;
import cn.mumzone.pos.model.InventoryGoodsEntity;

/**
 * Created by qiuzhenhuan on 2019/10/11.
 */

public interface InventoryDetailContract {

    interface View extends BaseView {

        void showInventoryDetails(InventoryDetailEntity detailEntity);

        void showInventoryGoods(List<InventoryGoodsEntity> goodsList);

        void showSearchGoods(List<InventoryGoodsEntity> goodsList);

        void showScanGoods(List<InventoryGoodsEntity> goodsList);

        void showInventoryProgress();
    }


    interface Presenter extends BasePresenter<View> {

        void loadInventoryDetails(String orderId);

        void loadInventoryGoods(String orderId, String keyword, boolean isSearch);

        void doUpdateInventoryStatus(String orderId, String status);
    }
}
